@keyframes change {
  0% {
    background: #F5F5F5;
  }
  100% {
    background: red;
  }
}
body {
  background: #f5f5f5;
}
.xy-m {
  position: relative;
  width: 100%;
  height: 430px;
  overflow: hidden;
}
.xy-m img {
  position: absolute;
}
.xy-mm {
  margin-top: 50px;
  height: 773px;
}
.xy-mm .nav-tabs {
  border: none;
}
.xy-mm .xy-m-m {
  display: flex;
  justify-content: center;
}
.xy-mm .xy-m-m li {
  width: 120px;
  text-align: center;
  margin: 0 40px;
}
.xy-mm .xy-m-m li a {
  margin: 0;
  background: none;
  border: none;
}
.xy-mm .xy-m-m li a span {
  color: black;
  font-size: 18px;
  display: inline-block;
  width: 100px;
  text-align: center;
}
.xy-mm .xy-m-m li a span {
  background: none;
  border: none;
}
.xy-mm .xy-m-m li a:focus {
  background: red;
  border: none;
}
.xy-mm .xy-m-m li a:hover {
  border: none;
  animation-duration: 2s;
  animation-name: change;
}
.xy-mm .xy-m-m li.active {
  background: red;
}
.xy-f {
  overflow: hidden;
}
.xy-f li {
  width: 402px;
  height: 300px;
  display: inline-block;
  padding: 10px 10px 0;
}
.xy-f li a img {
  -webkit-transition: all .6s;
  -moz-transition: all .6s;
  -ms-transition: all .6s;
  -o-transition: all .6s;
  transition: all .6s;
}
.xy-f li a:hover img {
  display: block;
  transform: translateX(-10px);
}
.xy-f li img {
  width: 392px;
  height: 255px;
}
.xy-f li .thumbnail {
  border: none;
}
